﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Domain
{
    /// <summary>
    /// 库位信息表
    /// </summary>
    [SugarTable("LocationModel", TableDescription = "库位信息表")]
    public class LocationModel:BaseEntity
    {
        /// <summary>
        /// 库位ID;库位表主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "库位表主键")]
        public long Lid { get; set; }

        /// <summary>
        /// 库位编码
        /// </summary>
        [SugarColumn(ColumnDescription = "库位编码")]
        public string Locationid { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        [SugarColumn(ColumnDescription = "库位名称")]
        public string Locationname { get; set; }

        /// <summary>
        /// 货架/库区ID
        /// </summary>
        [SugarColumn(ColumnDescription = "货架/库区ID")]
        public long SHId { get; set; }


        /// <summary>
        /// 描述
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "描述")]
        public string? Memo { get; set; }

    }
}